<h1>Listing decks</h1>

<table>
  <tr>
  </tr>
  
<% for deck in @decks %>
  <tr>
    <td><%= link_to 'Show', deck_path(deck) %></td>
    <td><%= link_to 'Edit', edit_deck_path(deck) %></td>
    <td><%= link_to 'Destroy', deck_path(deck), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New deck', new_deck_path %>